package com.dream.technology.db.entity;

import com.dream.technology.mybatisUtils.CreateTime;
import com.dream.technology.mybatisUtils.UpdateTime;

import java.util.Date;

public class RcborrowingSnapshot {
    private Long id;

    @CreateTime
    private Date createDate;
    @UpdateTime
    private Date updateDate;

    private Date registDate;

    private Date borrowingTime;

    private Date predictRepaymentTime;

    private Date repaymentTime;

    private Date loanTime;

    /**
     * 申请时间
     */
    private Date applyTime;

    private Integer age;

    private Boolean sex;

    /**
     * 借款期限
     */
    private Integer interestperiods;

    private Integer borrowingAmount;

    private Integer loanAmount;

    private Integer repaymentAmount;

    private String mobile;

    private String idcardNumber;

    private String nation;

    private String address;

    private String mobileType;

    private String borrowingformId;

    private String chinnel;

    private String childChinnel;

    private String platform;

    private Integer overdueDays;

    private Integer xiguaScore;

    private Integer zhimaScore;

    private Integer platformApplyCount;

    private Integer platformLoanCount;

    private Integer platformAllLoanCount;

    private Integer allPlatformApplyCount;

    private Integer allPlatformCount;

    private Boolean repaymentStatus;

    private Boolean overdue;

    private Boolean reborrow;

    private Boolean pass;

    private Long customerTagId;

    private Long riskControlFlowId;

    private Long customerId;

    private String customerName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getRegistDate() {
        return registDate;
    }

    public void setRegistDate(Date registDate) {
        this.registDate = registDate;
    }

    public Date getBorrowingTime() {
        return borrowingTime;
    }

    public void setBorrowingTime(Date borrowingTime) {
        this.borrowingTime = borrowingTime;
    }

    public Date getPredictRepaymentTime() {
        return predictRepaymentTime;
    }

    public void setPredictRepaymentTime(Date predictRepaymentTime) {
        this.predictRepaymentTime = predictRepaymentTime;
    }

    public Date getRepaymentTime() {
        return repaymentTime;
    }

    public void setRepaymentTime(Date repaymentTime) {
        this.repaymentTime = repaymentTime;
    }

    public Date getLoanTime() {
        return loanTime;
    }

    public void setLoanTime(Date loanTime) {
        this.loanTime = loanTime;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Integer getInterestperiods() {
        return interestperiods;
    }

    public void setInterestperiods(Integer interestperiods) {
        this.interestperiods = interestperiods;
    }

    public Integer getBorrowingAmount() {
        return borrowingAmount;
    }

    public void setBorrowingAmount(Integer borrowingAmount) {
        this.borrowingAmount = borrowingAmount;
    }

    public Integer getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(Integer loanAmount) {
        this.loanAmount = loanAmount;
    }

    public Integer getRepaymentAmount() {
        return repaymentAmount;
    }

    public void setRepaymentAmount(Integer repaymentAmount) {
        this.repaymentAmount = repaymentAmount;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getIdcardNumber() {
        return idcardNumber;
    }

    public void setIdcardNumber(String idcardNumber) {
        this.idcardNumber = idcardNumber == null ? null : idcardNumber.trim();
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getMobileType() {
        return mobileType;
    }

    public void setMobileType(String mobileType) {
        this.mobileType = mobileType == null ? null : mobileType.trim();
    }

    public String getBorrowingformId() {
        return borrowingformId;
    }

    public void setBorrowingformId(String borrowingformId) {
        this.borrowingformId = borrowingformId == null ? null : borrowingformId.trim();
    }

    public String getChinnel() {
        return chinnel;
    }

    public void setChinnel(String chinnel) {
        this.chinnel = chinnel == null ? null : chinnel.trim();
    }

    public String getChildChinnel() {
        return childChinnel;
    }

    public void setChildChinnel(String childChinnel) {
        this.childChinnel = childChinnel == null ? null : childChinnel.trim();
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform == null ? null : platform.trim();
    }

    public Integer getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(Integer overdueDays) {
        this.overdueDays = overdueDays;
    }

    public Integer getXiguaScore() {
        return xiguaScore;
    }

    public void setXiguaScore(Integer xiguaScore) {
        this.xiguaScore = xiguaScore;
    }

    public Integer getZhimaScore() {
        return zhimaScore;
    }

    public void setZhimaScore(Integer zhimaScore) {
        this.zhimaScore = zhimaScore;
    }

    public Integer getPlatformApplyCount() {
        return platformApplyCount;
    }

    public void setPlatformApplyCount(Integer platformApplyCount) {
        this.platformApplyCount = platformApplyCount;
    }

    public Integer getPlatformLoanCount() {
        return platformLoanCount;
    }

    public void setPlatformLoanCount(Integer platformLoanCount) {
        this.platformLoanCount = platformLoanCount;
    }

    public Integer getPlatformAllLoanCount() {
        return platformAllLoanCount;
    }

    public void setPlatformAllLoanCount(Integer platformAllLoanCount) {
        this.platformAllLoanCount = platformAllLoanCount;
    }

    public Integer getAllPlatformApplyCount() {
        return allPlatformApplyCount;
    }

    public void setAllPlatformApplyCount(Integer allPlatformApplyCount) {
        this.allPlatformApplyCount = allPlatformApplyCount;
    }

    public Integer getAllPlatformCount() {
        return allPlatformCount;
    }

    public void setAllPlatformCount(Integer allPlatformCount) {
        this.allPlatformCount = allPlatformCount;
    }

    public Boolean getRepaymentStatus() {
        return repaymentStatus;
    }

    public void setRepaymentStatus(Boolean repaymentStatus) {
        this.repaymentStatus = repaymentStatus;
    }

    public Boolean getOverdue() {
        return overdue;
    }

    public void setOverdue(Boolean overdue) {
        this.overdue = overdue;
    }

    public Boolean getReborrow() {
        return reborrow;
    }

    public void setReborrow(Boolean reborrow) {
        this.reborrow = reborrow;
    }

    public Boolean getPass() {
        return pass;
    }

    public void setPass(Boolean pass) {
        this.pass = pass;
    }

    public Long getCustomerTagId() {
        return customerTagId;
    }

    public void setCustomerTagId(Long customerTagId) {
        this.customerTagId = customerTagId;
    }

    public Long getRiskControlFlowId() {
        return riskControlFlowId;
    }

    public void setRiskControlFlowId(Long riskControlFlowId) {
        this.riskControlFlowId = riskControlFlowId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName == null ? null : customerName.trim();
    }


    /**
     *  风控快照
     * @param form
     * @param cus
     */
    /*public RcborrowingSnapshot(OrderBorrowingForm form, CusCustomerVo cus) {
//        this.registDate = cus.getre;
        this.borrowingTime= form.getCreateDate();
        this.predictRepaymentTime = form.getRepaymentEndDate();
        this.repaymentTime= form.getRepaymentNextDate();
//        this.loanTime;
//        this.applyTime;
//        this.age = cus.get;
//        this.sex;
        this.interestperiods = form.getBorrowingPeriod();
        this.borrowingAmount = form.getBorrowingCapital().intValue();
//        this.loanAmount;
//        this.repaymentAmount;
        this.mobile = form.getMobile();
        this.idcardNumber = cus.getCardNumber();
//        this.nation= cus.get;
//        this.address;
//        this.mobileType;
        this.borrowingformId = form.getOrderId();
        this.chinnel  = cus.getChannelName();
        this.childChinnel = cus.getSubChannelName();
        this.platform = form.getProductName();
//        this.overdueDays;
//        this.xiguaScore;
//        this.zhimaScore;
        this.platformApplyCount = cus.getApplyNumber();
        this.platformLoanCount = cus.getLoanNumber();
//        this.platformAllLoanCount;
//        this.allPlatformApplyCount;
//        this.allPlatformCount;
//        this.repaymentStatus;
//        this.overdue;
        this.reborrow = form.getReBorrow();
//        this.pass;
//        this.customerTagId;
//        this.riskControlFlowId;
        this.customerId = cus.getId();
        this.customerName = cus.getRealName();


    }
*/}
